#pragma once


typedef std::map<String, String> InfoMap;
class CAppConfigClient : public Singleton < CAppConfigClient >
{
public:
	CAppConfigClient(const TCHAR* file);
	~CAppConfigClient(void);
	UINT32 GetWindowWidth();
	UINT32 GetWindowHeight();
	UINT32 GetShaderType();
	UINT32 GetFrameCycTimer();
	UINT32 GetRenderMgrOrder(const String& MgrName);
	bool   IsFullScene();
	bool   IsUseNVPerfHUD();
	InfoMap& getInfoMap();
	static String GetResPath(const String& ResType);

protected:
	bool Parse(const TCHAR* filename);

protected:
	UINT32 m_iWndWidth;
	UINT32 m_iWndHeight;
	InfoMap mConfigInfo;
};
